import request from '../utils/request';
import {host} from '../constants/Host'

const fetchTimusUrl = host + '/wechat/test!fetchTimus.action';//首次测试,拉取题目
const completeUrl = host + '/wechat/test!complete.action';//测试完成,要提交测试类型和答案

export function fetchTimus(body) {
  return request(fetchTimusUrl, {body, method: 'POST'});
}

export function complete(body) {
  return request(completeUrl, {body, method: 'POST'});
}

